import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:untitled/pages/FormView/from_one.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class FormWidget extends StatefulWidget {
  const FormWidget({Key? key}) : super(key: key);

  @override
  State<FormWidget> createState() => _FormWidgetState();
}

class _FormWidgetState extends State<FormWidget> {
  @override
  Widget build(BuildContext context) {
    return Container(
      margin:EdgeInsets.only(top:30.h),
      padding: EdgeInsets.only(top: 20.h),
      color: Color.fromRGBO(255, 255, 255, 1),
      child: Center(
        child: Column(
          children: [
            ElevatedButton(
              onPressed: (){
                Get.to(FormOne());
              }, 
              child: Text("表单案例一"))
          ],
        ),
    
      ),
    );
    
  }
}